package com.ruoyi.mapper;

import com.ruoyi.dto.ResponseDTO;
import com.ruoyi.pojo.OrderGood;
import com.ruoyi.pojo.Orders;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface OrderMapper {
    List<Orders> getAllOrder();

    List<OrderGood> getGoodByOrder(@Param("id") Integer id);

    int confirmOrder(@Param("id") Integer id,@Param("state") String state);

    String getPhoneNumber(@Param("id") Integer id);

}
